const defaultState = (state = {}, action) => state;

const setName = function (state = {}, action) {
    switch (action.type) {
        case 'SET_NAME': 
            return {
                name: 'Hebe'
            };
        default: 
            return {};
    }
}

export default {
    defaultState,
    setName
};